package com.mdinfo.gw.door.service

import com.mdinfo.base.common.bean.CommonResult
import com.mdinfo.base.common.bean.DataGrid
import com.mdinfo.gw.door.param.DoorOpenTimeAddParam
import com.mdinfo.gw.door.param.DoorOpenTimeBindMultiCardParam
import com.mdinfo.gw.door.param.DoorOpenTimeListQueryParam
import com.mdinfo.gw.door.vo.DoorOpenTimeListQueryVo

/**
 * Created by Administrator on 2018/2/6.
 */
interface IDoorOpenTimeService {
    /**给门添加开放时间*/
    fun add(param: DoorOpenTimeAddParam): CommonResult<Void>

    /**列表查询*/
    fun listQuery(param: DoorOpenTimeListQueryParam): CommonResult<DataGrid<DoorOpenTimeListQueryVo>>

    /**多张卡绑定到开放时间上*/
    fun bindMultiCard(param: DoorOpenTimeBindMultiCardParam): CommonResult<Void>
}